package com.jshoperxms.controller.mall.backstage.vo;

import com.jshoperxms.controller.utils.statickey.StaticKey;

import java.io.Serializable;

/**
 * Created by sdywcd on 17/2/4.
 * Des:
 */
public class OrderCreateProcessInfoVo implements Serializable {

    /**
     * 店铺id
     */
    private String storeid= StaticKey.EMPTY;

    /**
     *店铺名称
     */
    private String storename=StaticKey.EMPTY;



    /**
     * 订单编号
     */
    private String orderid;
    /**
     * 同一批次购物车号
     */
    private String samecartbatchid;

    /**
     * 积分抵扣的金额
     */
    private double poinDeductiblePay;

    /**
     * 优惠券抵扣的金额
     */
    private double couponDeductiblePay;

    /**
     * 订单应付总价，也是开票价格
     */
    private double shouldpay;

    /**
     * 运费
     */
    private double freight;

    /**
     * 积分总和
     */
    private double point;

    /**
     * 使用的积分
     */
    private double usepoint;

    /**
     * 收货地址id
     */
    private String memberdeliveraddressid;

    /**
     * 支付方式id
     */
    private String paymentid;

    /**
     * 物流商id
     */
    private String logisticsid;
    /**
     * 物流商名称
     */
    private String logisticsname;
    /**
     * 物流商网址
     */
    private String logisticswebaddress;
    /**
     * 订单主图
     */
    private String mainimg;
    /**
     * 订单小图
     */
    private String smainimg;
    /**
     * 订单商品数量
     */
    private int needquantity;

    /**
     * 订单名称
     */
    private String ordername;

    /**
     * 支付方式名称
     */
    private String paymentname;

    /**
     * 发货地址id
     */
    private String ordershippingaddressid;

    /**
     * 收获人姓名
     */
    private String ordershippingusername;

    /**
     * 优惠券id
     */
    private String couponid;

    /**
     * 优惠券代码表主键id
     */
    private String couponcodeid;

    /**
     * 会员的开票信息id
     */
    private String memberinvoiceid;
    /**
     * 选择的支付方式代码
     * 1，这里需要根据代码去判断具体执行的支付业务逻辑
     * 2，如果是余额结算就跳过外部支付环节
     */
    private String payCode;
    /**
     * 是否更新了订单快照
     */
    private boolean isUpdateOrderProductSnapshot;

    /**
     * 是否保存了订单快照
     */
    private boolean isSaveOrderProductSnapshot;

    /**
     * 是否更新了同批次购物车信息
     */
    private boolean isUpdateSameCartBatchID;

    /**
     * 是否保存了发货地址信息
     */
    private boolean isSaveOrderShippingAddress;


    /**
     * 是否保存了订单
     */
    private boolean isSaveOrder;

    /**
     * 是否保存了会员开票信息
     */
    private boolean isSaveMemberInvoice;

    /**
     * 是否保存了会员使用积分抵扣信息
     */
    private boolean isSaveMemberUsePointRd;


    /**
     * 是否更新了会员积分
     */
    private boolean isUpdateMemberIntegation;

    /**
     * 是否保存了会员获得积分信息
     */
    private boolean isSaveMemberGetPointRd;

    /**
     * 是否保存了会员使用优惠券
     */
    private boolean isSaveMemberUseCouponCodeRd;


    /**
     * 是否店铺订单
     */
    private boolean isStoreOrder;


    public String getStoreid() {
        return storeid;
    }

    public void setStoreid(String storeid) {
        this.storeid = storeid;
    }

    public String getStorename() {
        return storename;
    }

    public void setStorename(String storename) {
        this.storename = storename;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getSamecartbatchid() {
        return samecartbatchid;
    }

    public void setSamecartbatchid(String samecartbatchid) {
        this.samecartbatchid = samecartbatchid;
    }

    public double getPoinDeductiblePay() {
        return poinDeductiblePay;
    }

    public void setPoinDeductiblePay(double poinDeductiblePay) {
        this.poinDeductiblePay = poinDeductiblePay;
    }

    public double getCouponDeductiblePay() {
        return couponDeductiblePay;
    }

    public void setCouponDeductiblePay(double couponDeductiblePay) {
        this.couponDeductiblePay = couponDeductiblePay;
    }

    public double getShouldpay() {
        return shouldpay;
    }

    public void setShouldpay(double shouldpay) {
        this.shouldpay = shouldpay;
    }

    public double getFreight() {
        return freight;
    }

    public void setFreight(double freight) {
        this.freight = freight;
    }

    public double getPoint() {
        return point;
    }

    public void setPoint(double point) {
        this.point = point;
    }

    public double getUsepoint() {
        return usepoint;
    }

    public void setUsepoint(double usepoint) {
        this.usepoint = usepoint;
    }

    public String getMemberdeliveraddressid() {
        return memberdeliveraddressid;
    }

    public void setMemberdeliveraddressid(String memberdeliveraddressid) {
        this.memberdeliveraddressid = memberdeliveraddressid;
    }

    public String getPaymentid() {
        return paymentid;
    }

    public void setPaymentid(String paymentid) {
        this.paymentid = paymentid;
    }

    public String getLogisticsid() {
        return logisticsid;
    }

    public void setLogisticsid(String logisticsid) {
        this.logisticsid = logisticsid;
    }

    public String getLogisticsname() {
        return logisticsname;
    }

    public void setLogisticsname(String logisticsname) {
        this.logisticsname = logisticsname;
    }

    public String getLogisticswebaddress() {
        return logisticswebaddress;
    }

    public void setLogisticswebaddress(String logisticswebaddress) {
        this.logisticswebaddress = logisticswebaddress;
    }

    public String getMainimg() {
        return mainimg;
    }

    public void setMainimg(String mainimg) {
        this.mainimg = mainimg;
    }

    public String getSmainimg() {
        return smainimg;
    }

    public void setSmainimg(String smainimg) {
        this.smainimg = smainimg;
    }

    public int getNeedquantity() {
        return needquantity;
    }

    public void setNeedquantity(int needquantity) {
        this.needquantity = needquantity;
    }

    public String getOrdername() {
        return ordername;
    }

    public void setOrdername(String ordername) {
        this.ordername = ordername;
    }

    public String getPaymentname() {
        return paymentname;
    }

    public void setPaymentname(String paymentname) {
        this.paymentname = paymentname;
    }


    public String getCouponid() {
        return couponid;
    }

    public void setCouponid(String couponid) {
        this.couponid = couponid;
    }

    public String getCouponcodeid() {
        return couponcodeid;
    }

    public void setCouponcodeid(String couponcodeid) {
        this.couponcodeid = couponcodeid;
    }

    public String getPayCode() {
        return payCode;
    }

    public void setPayCode(String payCode) {
        this.payCode = payCode;
    }

    public boolean isUpdateOrderProductSnapshot() {
        return isUpdateOrderProductSnapshot;
    }

    public void setUpdateOrderProductSnapshot(boolean updateOrderProductSnapshot) {
        isUpdateOrderProductSnapshot = updateOrderProductSnapshot;
    }

    public boolean isUpdateSameCartBatchID() {
        return isUpdateSameCartBatchID;
    }

    public void setUpdateSameCartBatchID(boolean updateSameCartBatchID) {
        isUpdateSameCartBatchID = updateSameCartBatchID;
    }

    public boolean isSaveOrderShippingAddress() {
        return isSaveOrderShippingAddress;
    }

    public void setSaveOrderShippingAddress(boolean saveOrderShippingAddress) {
        isSaveOrderShippingAddress = saveOrderShippingAddress;
    }

    public boolean isSaveOrder() {
        return isSaveOrder;
    }

    public void setSaveOrder(boolean saveOrder) {
        isSaveOrder = saveOrder;
    }

    public boolean isSaveMemberInvoice() {
        return isSaveMemberInvoice;
    }

    public void setSaveMemberInvoice(boolean saveMemberInvoice) {
        isSaveMemberInvoice = saveMemberInvoice;
    }

    public boolean isSaveMemberUsePointRd() {
        return isSaveMemberUsePointRd;
    }

    public void setSaveMemberUsePointRd(boolean saveMemberUsePointRd) {
        isSaveMemberUsePointRd = saveMemberUsePointRd;
    }

    public boolean isUpdateMemberIntegation() {
        return isUpdateMemberIntegation;
    }

    public void setUpdateMemberIntegation(boolean updateMemberIntegation) {
        isUpdateMemberIntegation = updateMemberIntegation;
    }

    public boolean isSaveMemberGetPointRd() {
        return isSaveMemberGetPointRd;
    }

    public void setSaveMemberGetPointRd(boolean saveMemberGetPointRd) {
        isSaveMemberGetPointRd = saveMemberGetPointRd;
    }

    public boolean isSaveMemberUseCouponCodeRd() {
        return isSaveMemberUseCouponCodeRd;
    }

    public void setSaveMemberUseCouponCodeRd(boolean saveMemberUseCouponCodeRd) {
        isSaveMemberUseCouponCodeRd = saveMemberUseCouponCodeRd;
    }

    public String getOrdershippingaddressid() {
        return ordershippingaddressid;
    }

    public void setOrdershippingaddressid(String ordershippingaddressid) {
        this.ordershippingaddressid = ordershippingaddressid;
    }

    public String getOrdershippingusername() {
        return ordershippingusername;
    }

    public void setOrdershippingusername(String ordershippingusername) {
        this.ordershippingusername = ordershippingusername;
    }

    public String getMemberinvoiceid() {
        return memberinvoiceid;
    }

    public void setMemberinvoiceid(String memberinvoiceid) {
        this.memberinvoiceid = memberinvoiceid;
    }

    public boolean isStoreOrder() {
        return isStoreOrder;
    }

    public void setStoreOrder(boolean storeOrder) {
        isStoreOrder = storeOrder;
    }

    public boolean isSaveOrderProductSnapshot() {
        return isSaveOrderProductSnapshot;
    }

    public void setSaveOrderProductSnapshot(boolean saveOrderProductSnapshot) {
        isSaveOrderProductSnapshot = saveOrderProductSnapshot;
    }
}
